﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="homeMobile.aspx.cs" Inherits="AcadPosApp.homeMobile" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <asp:DropDownList ID="ddlPolo" runat="server" AutoPostBack="True" 
        onselectedindexchanged="ddlPolo_SelectedIndexChanged" 
        CssClass="DropDownList" AppendDataBoundItems="True" >
        <asp:ListItem Value="0" Selected="True">Selecione</asp:ListItem>
    </asp:DropDownList>

    <br />

    <style>
        
   /*    .DropDownList 
    {
        margin-top: 30px;
        margin-left: auto;
        margin-right: auto;
        font-size: 16px;
        width:150px;
        
        } 
     */   
    .DropDownList 
    {
        margin-top: 130px;
        margin-left: auto;
        margin-right: auto;
        font-size: 16px;
        width:150px;
        
        }  
    .Grid {background-color: #fff; 
           border: solid 1px #525252; 
            border-collapse:collapse;
            font-family:Calibri; 
             font-size: 17px;
             color: #474747;
            margin-left: auto;
            margin-right: auto;
            margin-top: 0px;
            margin-bottom: 10px;
        }
    .Grid option
    {
        size: 16px;
        }         
.Grid td {
      padding: 2px;
      border: solid 1px #c1c1c1; }
.Grid th  {
      padding : 4px 2px;
      color: #fff;
      background: #363670 url(Images/grid-header.png) repeat-x top;
      border-left: solid 1px #525252;
      font-size: 0.9em; }
.Grid .alt {
      background: #fcfcfc url(Images/grid-alt.png) repeat-x top; }
.Grid .pgr {background: #363670 url(Images/grid-pgr.png) repeat-x top; }
.Grid .pgr table { margin: 3px 0; }
.Grid .pgr td { border-width: 0; padding: 0 6px; border-left: solid 1px #666; font-weight: bold; color: #fff; line-height: 12px; }  
.Grid .pgr a { color: Gray; text-decoration: none; }
.Grid .pgr a:hover { color: #000; text-decoration: none; }
- See more at: http://www.dotnetfox.com/articles/gridview-custom-css-style-example-in-Asp-Net-1088.aspx#sthash.h8SI6pJC.dpuf
    </style>

    <asp:GridView ID="gvwPolo" runat="server" AutoGenerateColumns="False" 
        Width="80%" 
        CellPadding="4" ForeColor="#333333" GridLines="None" CssClass="Grid" 
    ShowFooter="True" onrowdatabound="gvwPolo_RowDataBound">
        <AlternatingRowStyle BackColor="White" />
        <Columns>
            <asp:BoundField DataField="NOME_CURSO" HeaderText="Curso" 
                ApplyFormatInEditMode="True" />
            <asp:BoundField DataField="CURRICULO" HeaderText="Curriculo" />
            <asp:BoundField DataField="ID_MODULO" HeaderText="Modulo" />
            <asp:BoundField DataField="COD_TURMA" HeaderText="Turma" />
            <asp:BoundField DataField="SITUACAO" HeaderText="Status" />
            <asp:BoundField DataField="QTD_DISC" HeaderText="Qtd. Alunos" 
                FooterText="TOTAL" />
        </Columns>

        <EditRowStyle BackColor="#7C6F57" />
        <EmptyDataTemplate>
            Curso
        </EmptyDataTemplate>
        <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
        <RowStyle BackColor="#E3EAEB" />
        <SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
        <SortedAscendingCellStyle BackColor="#F8FAFA" />
        <SortedAscendingHeaderStyle BackColor="#246B61" />
        <SortedDescendingCellStyle BackColor="#D4DFE1" />
        <SortedDescendingHeaderStyle BackColor="#15524A" />
    </asp:GridView>

</asp:Content>
